export type Stamp = {
  date: Date;
  smoke: number;
  temperature: number;
}

type ChannelData = {
  sequenceNumber: number | null;
};

export type Sensor = {
  channel2: ChannelData;
  channel3: ChannelData;
  serialNumber: string; // 'dd.08.af.00.dd.08.af.00.dd.08.af.00'
  history: Stamp[];
};

export type SensorsCrossCounts = {
  crossCount2?: number;
  crossCount3?: number;
};

export type SetSensorsCrossCounts = {
  channelNumber: number;
  sequenceNumber: number;
}

export type SensorDataSet = {
  channelNumber: number;
  sequenceNumber: number;
  uint8T: number[];
};
